package com.learn.micro_mall.service.request.goods;

import com.sun.istack.internal.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class StockReduceConfigDTO implements Serializable {
    private static final long serialVersionUID = -7826420044525099396L;

    /**
     * 付款扣库存
     */
    @NotNull
    private Boolean payReduceStock;

    /**
     * 下单扣库存
     */
    @NotNull
    private Boolean placeOrderReduceStock;
}
